import { defineComponent } from "vue";

export default defineComponent({
    inheritAttrs: true,
    // mounted() {
    //     console.log(this);
    // },
    props: {
        href: { type: String, required: true },
        class: { type: String, required: false },
        onclick: { type: Function },
    },
    computed: {
        classlist() {
            const baseclasslist = [
                "navbar-brand",
                "mui-btn",
                "mui-btn-primary",
                "mui-btn-outlined",
            ];
            let propclass = this.class;
            return [...baseclasslist, propclass].filter(Boolean);
        },
    },
});
